# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class InstanceIdCfg(object):

    def __init__(self, instanceId=None, nickName=None, packageType=None, region=None, sourceId=None, domainPackages=None, extraBitsLimit=None, startTime=None, releaseingTime=None, status=None, valid=None):
        """
        :param instanceId: (Optional) 实例id
        :param nickName: (Optional) 实例id别称
        :param packageType: (Optional) 套餐类型 0:内测版，1:高级版， 2:企业版 3:旗舰版
        :param region: (Optional) 地域信息
        :param sourceId: (Optional) 资源ID，续费,标签用
        :param domainPackages: (Optional) 额外的域名扩展包
        :param extraBitsLimit: (Optional) 额外的qps扩展包，单位为M
        :param startTime: (Optional) 创建时间
        :param releaseingTime: (Optional) 资源预计释放时间，仅过期且未释放时有效
        :param status: (Optional) 资源的计费状态，1-服务中，2-过期停服，3-过期释放
        :param valid: (Optional) 资源的可用状态，1-可用，其他不可用
        """

        self.instanceId = instanceId
        self.nickName = nickName
        self.packageType = packageType
        self.region = region
        self.sourceId = sourceId
        self.domainPackages = domainPackages
        self.extraBitsLimit = extraBitsLimit
        self.startTime = startTime
        self.releaseingTime = releaseingTime
        self.status = status
        self.valid = valid
